package com.six.work.services;

import com.github.pagehelper.PageInfo;
import com.six.work.entity.*;

import java.util.List;

public interface InvitationServices {
    PageInfo<InvView> findAllInvitation(Integer num);

    /*List<Invitation> findAllInvitation();*/

    List<Invitation> findPostByTitle(String title);

    Integer DelPostByID(Integer post_id);

    List<Invitation> findContent(Integer post_id);

    Integer insertInvitation(Invitation invitation);

    Invitation SelectInvByID(Integer post_id);

    Integer updateInvitation(Invitation invitation);

}
